package com.sxl.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sxl.domain.Userchecks;
import com.sxl.service.UserchecksService;
import com.sxl.mapper.UserchecksMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author xue
* @description 针对表【userchecks】的数据库操作Service实现
* @createDate 2022-05-03 22:17:37
*/
@Service
public class UserchecksServiceImpl extends ServiceImpl<UserchecksMapper, Userchecks>
    implements UserchecksService{
    @Autowired
    private UserchecksMapper userchecksMapper;
    @Override
    public Userchecks selectAllById(Integer userId) {
        return userchecksMapper.selectAllById(userId);
    }

    @Override
    public List<Userchecks> selectAll(Userchecks userchecks) {
        return userchecksMapper.selectAll(userchecks);
    }

    @Override
    public int getCountUserchecks(Userchecks userchecks) {
        return userchecksMapper.getCountUserchecks(userchecks);
    }
}




